(custom-save-delete): Force emacs-lisp-mode.
authorJuanma Barranquero <lekktu@gmail.com>
Mon, 11 Nov 2002 10:50:53 +0000 (10:50 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Mon, 11 Nov 2002 10:50:53 +0000 (10:50 +0000)
lisp/cus-edit.el

index 366061a7e595eb99c339fa5a913b82a57413bc53..71709cd723458df44b2729c7f58a8d0cccef834b 100644 (file)
@@ -3649,7 +3649,7 @@ to the new custom file.  This will preserve your existing customizations."
   "Visit `custom-file' and delete all calls to SYMBOL from it.
 Leave point at the old location of the first such call,
 or (if there were none) at the end of the buffer."
-  (let ((default-major-mode))
+  (let ((default-major-mode 'emacs-lisp-mode))
     (set-buffer (find-file-noselect (custom-file))))
   (goto-char (point-min))
   ;; Skip all whitespace and comments.